package com.scheduling.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.scheduling.system.mapper.SkillmanagementMapper;
import com.scheduling.system.domain.Skillmanagement;
import com.scheduling.system.service.ISkillmanagementService;

/**
 * 技能管理Service业务层处理
 * 
 * @author mj
 * @date 2025-05-07
 */
@Service
public class SkillmanagementServiceImpl implements ISkillmanagementService 
{
    @Autowired
    private SkillmanagementMapper skillmanagementMapper;

    /**
     * 查询技能管理
     * 
     * @param id 技能管理主键
     * @return 技能管理
     */
    @Override
    public Skillmanagement selectSkillmanagementById(Long id)
    {
        return skillmanagementMapper.selectSkillmanagementById(id);
    }

    /**
     * 查询技能管理列表
     * 
     * @param skillmanagement 技能管理
     * @return 技能管理
     */
    @Override
    public List<Skillmanagement> selectSkillmanagementList(Skillmanagement skillmanagement)
    {
        return skillmanagementMapper.selectSkillmanagementList(skillmanagement);
    }

    /**
     * 新增技能管理
     * 
     * @param skillmanagement 技能管理
     * @return 结果
     */
    @Override
    public int insertSkillmanagement(Skillmanagement skillmanagement)
    {
        return skillmanagementMapper.insertSkillmanagement(skillmanagement);
    }

    /**
     * 修改技能管理
     * 
     * @param skillmanagement 技能管理
     * @return 结果
     */
    @Override
    public int updateSkillmanagement(Skillmanagement skillmanagement)
    {
        return skillmanagementMapper.updateSkillmanagement(skillmanagement);
    }

    /**
     * 批量删除技能管理
     * 
     * @param ids 需要删除的技能管理主键
     * @return 结果
     */
    @Override
    public int deleteSkillmanagementByIds(Long[] ids)
    {
        return skillmanagementMapper.deleteSkillmanagementByIds(ids);
    }

    /**
     * 删除技能管理信息
     * 
     * @param id 技能管理主键
     * @return 结果
     */
    @Override
    public int deleteSkillmanagementById(Long id)
    {
        return skillmanagementMapper.deleteSkillmanagementById(id);
    }
}
